package com.xhtt.modules.task.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xhtt.common.utils.PageUtils;
import com.xhtt.modules.sys.entity.SysUserEntity;
import com.xhtt.modules.task.entity.TaskCarPlan;
import com.xhtt.modules.task.entity.TaskCarSeo;
import com.xhtt.modules.task.model.car.WaitingPlanModel;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 排车计划 服务类
 * </p>
 *
 * @author feipc
 * @since 2019-02-27
 */
public interface TaskCarPlanService extends IService<TaskCarPlan> {

    PageUtils planList(Map<String, Object> params);

    void addPlan(TaskCarPlan taskCarPlan);

    void updatePlan(TaskCarPlan taskCarPlan);

    PageUtils coreList(Map<String,Object> params);

    List<WaitingPlanModel> getAllWaitingPlans();

    String addPlanFromOut(TaskCarPlan taskCarPlan);

    PageUtils seoList(Map<String,Object> params);

    TaskCarSeo dataToSeo(Integer carPlanId);

    void seoEdit(TaskCarSeo seo, SysUserEntity user);
}
